/*
 * Copyright (c) .NET Foundation and Contributors
 *
 * This software may be modified and distributed under the terms
 * of the MIT license.  See the LICENSE file for details.
 *
 * https://github.com/piranhacms/piranha.core
 *
 */

namespace Piranha.AspNetCore.Services
{
    /// <summary>
    /// The request helper provides information regarding the
    /// current request.
    /// </summary>
    public interface IRequestHelper
    {
        /// <summary>
        /// Gets/sets the current hostname.
        /// </summary>
        string Host { get; set; }

        /// <summary>
        /// Gets/sets the current port.
        /// </summary>
        int? Port { get; set; }

        /// <summary>
        /// Gets/sets the current scheme.
        /// </summary>
        string Scheme { get; set; }

        /// <summary>
        /// Gets/sets the requested raw url.
        /// </summary>
        string Url { get; set; }
    }
}